/*
 * Created on Jan 12, 2004
 *
 * To change the template for this generated file go to
 * Window&gt;Preferences&gt;Java&gt;Code Generation&gt;Code and Comments
 */
package com.unash.server;

import junit.framework.TestCase;

/**
 * @author Ashwini Gokhale
 *
 * To change the template for this generated type comment go to
 * Window&gt;Preferences&gt;Java&gt;Code Generation&gt;Code and Comments
 */
public class ThreadPoolTest extends TestCase {

	/**
	 * Constructor for ThreadPoolTest.
	 * @param arg0
	 */
	public ThreadPoolTest(String arg0) {
		super(arg0);
	}//ThreadPoolTest

	public static void main(String[] args) {
		junit.swingui.TestRunner.run(ThreadPoolTest.class);
	}

	final public void testExecute() {
		int size = 10;
		Channel workQueue = new Channel(size);
		ThreadPool threadPool = new ThreadPool(workQueue,size);
		assertEquals(threadPool.listOfWorkers.size(),size);		
	}

	final public void testThreadPool() {
		//TODO Implement ThreadPool().
	}

	final public void testActivate() {
		//TODO Implement activate().
	}

}
